package simpledb;


/**
 *
 *  added by baijie
 *
 */
public class AvgTempVariable {

//    平均的次数
    private  int  times ;
//    当前的值
    private  int  fieldValue ;

    public AvgTempVariable(int fieldValue , int times) {

        this.fieldValue = fieldValue ;
        this.times = times ;
    }

    public int getTimes() {
        return times;
    }

    public void setTimes(int times) {
        this.times = times;
    }

    public int getFieldValue() {
        return fieldValue;
    }

    public void setFieldValue(int fieldValue) {
        this.fieldValue = fieldValue;
    }


    public String toString() {

        StringBuilder stringBuilder = new StringBuilder() ;
        stringBuilder.append( "$$=AvgTempVariable==[fieldValue=" +  fieldValue + "][times=" + times +"]") ;
        return stringBuilder.toString() ;
    }


}
